<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Insert title here</title>
</head>
<body>
	<form action="DeptServlet?type=update" method="post">
		<table>
			<tr>
				<td>部门名称</td>
				<td><input type="text" name = "pname" value="${dept.pname }"><input type="hidden" value="${dept.pid }" name="pid"></td>
				
			</tr>
			<tr>
				<td>备注</td>
				<td><textarea rows="3" cols="20" name="premark">${dept.premark }</textarea>
				</td>
			</tr>
			<tr>
				
				<td colspan="2"><input type="submit" value="保存"></td>
			</tr>
		
		</table>
	
	</form>
</body>
</html>